#pragma once
#define MAXLENGTH 8
#define MAXWIDTH 8

enum Chessman{empty,white,black};

class Chess
{
	private:
	int _Length;
	int _Width;
	int _Chessboard[MAXLENGTH][MAXWIDTH];
	Chessman _LastChessman;

public:
	Chess(void);
	~Chess(void);
	bool PlayChess(int x,int y,Chessman chessman);
	void Display();
	Chessman GetWinner(int x,int y,Chessman chessman);
	
};
